home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / apps / 390 / applic / pic_log2.doc < prev    next >
Text File  |  1989-05-10  |  15KB  |  283 lines

  1.  
  2.  
  3.  
  4.          
  5.    
  6.                                 ClipArTALOGUE 
  7.    
  8.                                      aka 
  9.    
  10.                                    PIC_LOG 
  11.    
  12.                                 COPYRIGHT 1988
  13.    
  14.                                      Chet 
  15.                                    Walters 
  16.    
  17.    
  18.           For HP DeskJet/LaserJet Epson LQ or Epson 9 pin printers 
  19.                               UNLIMITED VERSION
  20.    
  21.    
  22.  
  23.  
  24.    
  25.        Seriously folks! I found a need for this program which is why I wrote
  26.   it. Mind you, I wrote it just for me at first, but as it developed I
  27.   thought maybe you might use it so I polished it up a bit and wrote a
  28.   version for the HP Deskjet as well as my own Epson. It prints any DEGAS,
  29.   Tiny or NEOchrome pics on your printer. I have a good number of clip art
  30.   pics for use with our newsletter and I got quite frustrated with searching
  31.   through all these pics to find just the right art to clip. Hey, I thought!
  32.   Why not print them and put 'em in a ring binder! Simple enough you might
  33.   say and so I thought, but I spent a full hour one night and got only about
  34.   12 pics onto paper. Yikes! There had to be a better way!
  35.  
  36.        Besides the fact that there's no really easy to use program that will
  37.   just load and print a pic, there's also minor problem when printing quite a
  38.   few pics from the ST screen on a 9-pin printer. The ST's resolution is 400
  39.   dots (points of 1/72 inch) top to bottom as far as the system's screen 
  40.   dump is concerned (even in the low and medium res). This is just a tad more
  41.   than half of a page of printer paper. Eleven inch paper is 792 points high.
  42.   Divide that by two and you get 396. OOOOPS! Just 4 points shy of an ST
  43.   screen dump which means you must either waste half a page by printing only
  44.   one pic to a page then punching the form feed button or you can try
  45.   printing two pics to a page then roll the platen back a few notches
  46.   starting again with a bit of a mess (8 points high) at the top of each
  47.   page. THIS, I can tell you, requires MUCH babysitting while all the time
  48.   listening to that unearthly rasp of the print head while it grates across
  49.   the page! UGH! And for the Deskjet or LQ, well, Easy Draw will print only
  50.   9 graphics per page and the files can become quite large when dealing
  51.   with entire screens to say nothing of the page layout procedure!
  52.  
  53.        Well, computers are supposed to make life less of a hassle (a point
  54.   that's moot to some, no doubt) so I set to work to make it easier
  55.   cataloging my full screen clip art. I put together ClipArTALOGUE in a few
  56.   hours by using GFA BASIC v2.0 routines from various sources, some from the
  57.   GFA book, some I had written, and a few borrowed from PD software. This
  58.   program will load any DEGAS, Tiny or NEO pics in any resolution regardless
  59.   of what resolution it's in currently (runs in all three, by the way). It
  60.   will load a single pic and send it off or it will serially load and dump an
  61.   entire diskfull of pics without the need of a babysitter (that's YOU if you
  62.   know what I mean). It employs a few tricks to save paper by fitting two
  63.   pics to a page on Epson 9 pin compatibles, 8 pics per on Epson LQ and 15
  64.   (YUP! count 'em) per page on the Deskjet! 
  65.  
  66.  
  67. TAKE NOTE OF THIS!
  68.  
  69.         For EPSON compatibles, THE PROGRAM USES THE SYSTEM'S SCREEN DUMP SO
  70.   YOU MUST HAVE YOUR DESKTOP SET UP FOR YOUR PRINTER. For Deskjet's & LQs
  71.   there is a completely different algorithm for loading and printing which
  72.   is why there's two separate programs (Also for memory conservation so you
  73.   don't need the aggravation of loading both drivers) If you have an EPSON
  74.   9 pin printer, run PIC_LOG2.PRG. For Deskjet or LQs, run HPLQ_LOG.PRG. It
  75.   may override some of your defaults so it's best to cold start the printer
  76.   both before and after running the program. I'll say this only once here so
  77.   read this paragraph again and take note.
  78.  
  79. INITIAL SCREEN
  80.  
  81.         The initial screen has a box with three buttons marked SOME, ALL, and
  82.   QUEST (SET for HP_LQ). Poking the SOME button enables you to load a single
  83.   pic of any resolution which is then dumped to the printer after
  84.   confirmation from you (in three possible sizes for HP owners). Short, sweet
  85.   and simple with no tricks, bells or whistles. Period!
  86.  
  87.  
  88. FOR HP DESKJET or LQ OWNERS: (9 pins skip to next section)
  89.  
  90.      After you press the ALL button, you are greeted with the following:
  91.  
  92.  SHOWEM:
  93.      This is a simple toggle which will cause the program to alternate among
  94.      the three screens currently undergoing the print process. Since the
  95.      program was primarily designed for use with monochrome pics on a
  96.      monochrome monitor, showing color pics on a monochrome screen or ANY
  97.      pics on a color screen will slow the print process because the pic must
  98.      be redrawn EACH time.
  99.  NO SHOW:
  100.      This button will cause the program to display only the last pic of the
  101.      three currently under print. There is no speed loss here.
  102.  ABORT:
  103.      Go back to the initial screen.
  104.  
  105.      The program takes full advantage of your printer's resolution and prints
  106.      as many pics per page as can be comfortable for viewing.
  107.  
  108.  
  109.  
  110. FOR EPSON: (HP LQ owners skip to next section)
  111.  
  112.        The QUEST button requires a bit of detailed explanation. I needed a
  113.   word which would denote two choices because GFA 2 allows only three buttons
  114.   to an alert box and the program required four choices at the initial
  115.   screen. "Quest" is a combination of the words "quit" and "test" those being
  116.   the choices this button allows. I arrived at this word after a few moments
  117.   of careful consideration during which three combinations of the two words
  118.   boiled to the top immediately. The first that came to mind was "TUIT" which
  119.   combines the first letter of "test" and the last three of "quit." I tossed
  120.   it out because not only is it an unattractive word, it is too easily
  121.   pronounced "twit" with some unfavorable connotations (possibly related to
  122.   this programmer). The second word that surfaced combined the first letter
  123.   of "test" and only the last two letters of "quit." No dice. While that word
  124.   has obvious connotations which may excite some of the more liberal minded
  125.   of end users, I felt it had to go. "Quest" came to mind next, an attractive
  126.   word with romantic connotations that looks quite good in a button box.
  127.   QUEST allows you to QUIT the program, TEST your printer, or NEITHER.
  128.  
  129.        Why TEST the printer? To print a log of multiple screens properly
  130.   without any babysitting, ClipArTALOGUE requires that the paper be set
  131.   initially to EXACTLY TOP OF FORM with the top pin of the printhead
  132.   precisely aligned with the perf. Punching the TEST button fires the top pin
  133.   of the printhead in a series of dots across the page and also sets your
  134.   printer at its tiniest paper advance increment. To use this button
  135.   effectively, set your paper just a bit low of TOF and punch the TEST
  136.   button. Note the position of the dots according to the perf then press the
  137.   LINE FEED button on your printer until you feel that the top pin is aligned
  138.   with the perforation. Punch the TEST button again. When those little dots
  139.   are nearly invisible because they are printed directly on the perf your
  140.   printer is set at EXACTLY top of form.
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.        You are now ready to punch the ALL button on the initial screen. Here
  156.   you're greeted with again three buttons:
  157.  
  158.           2/PAGE                    F-FEED                    IGNORE
  159.  
  160.     If your printer is         If your printer           This button will
  161.   capable of reverse line    won't perform reverse     cause the program to
  162.   feeds (push tractor        line feeds (pull          just load and dump the
  163.   types), this button        tractor type), this       pics without any
  164.   will cause the program     button will cause the     concern for paper
  165.   to use every last          program to print two      positioning. This
  166.   available point on each    screens on a page then    works well if you do
  167.   page printing two pics     advance the paper to      not decollate the fan
  168.   to a page until the        the next TOF leaving a    fold when printing is
  169.   files it finds within      blank page between        done (leave the paper
  170.   the path you have          printed pages (recall     as is and stick it in
  171.   chosen are exhausted       that two screens won't    a manilla folder in
  172.   (and your ribbon too!)     fit on a page).           your filing cabinet).
  173.    
  174.  
  175.  
  176.  
  177.      We accomplish the 2/PAGE feature by stealing two scan lines from the
  178.   top of each pic and a like number from the bottom (you'll likely not miss
  179.   them). We then move the pic up to the top of the screen and after the
  180.   dump we reverse the printer 4 points to cover the empty space. This makes
  181.   8 lines reversed for each page making the subsequent page start at TOF.
  182.   For the F-FEED feature, we load and print the entire first pic then steal
  183.   the bottom 8 lines of the second pic on each page. Though the printer
  184.   will attempt to print onto the next page, there is only blank space to
  185.   dump so no ink actually gets onto the paper. Between each set of two pics
  186.   there will be a completely pristine blank piece of paper which you can
  187.   use as you see fit once you decollate your catalogue. The quality of the
  188.   catalogue resulting from your pressing either of these buttons is greatly
  189.   dependent upon your setting the printer to exactly TOF so you can see the
  190.   value of the QUEST button. Use it to your advantage.
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197. FOR EVERYONE: (HP LQ and EPSON owners read the following)
  198.  
  199.        After you punch one of these three buttons, the GEM fileselector
  200.   will appear. Choose the path from which to print (ClipArTALOGUE will not
  201.   dig into any subdirectories on its own so the pics you wish to print must
  202.   be visible in the fileselector window) and click on the OK button. The
  203.   filenames matching protocol for extenders (ie PI1-PI3, PC1-PC3, TNY, TN1-
  204.   TN3, or NEO) will be extracted and displayed on the screen. You then have
  205.   to opportunity to enter a name for this section of catalogue or you can
  206.   type "!" to abort the print. Normally you would enter disk name or number
  207.   here. For the EPSON dump, in the upper right hand corner of the screen
  208.   prior to printing each pic, the program prints the name of the pic and
  209.   also this string. For the HP DESKJET run, this string is printed in the
  210.   upper right hand corner of the page along with the current path. This is
  211.   to help you reference the pic easily among your files, but keep it short.
  212.  
  213.      CAVEATS (ain't there always some!) This program was written in a very
  214.   short time with little attention to bells, whistles or ERRORS. Though it
  215.   runs flawlessly when treated properly, it may crash with bad media or
  216.   unprompted disk swaps so don't try to play tricks on it. It was designed
  217.   primarily for use with HI RES pics of clip art and though it will load
  218.   and dump any resolution screen from any resolution, the actual hues of a
  219.   color pic will not display since colors are set to print in the
  220.   grey_scale. This program is best run in monochrome or at least medium
  221.   resolution though it will run in low. Color screens will MURDER your
  222.   ribbon if you're using an EPSON and will empty a Deskjet cartridge rather
  223.   quickly! Pay close attention to your printer and ribbon! A frayed ribbon
  224.   will DESTROY your printhead if you don't keep an eye on it. Frayed
  225.   ribbons should be discarded! If you are using an EPSON, you can print on
  226.   both sides of the paper but make sure your ribbon is rather dry at the
  227.   start (it will be at the finish .. guaranteed!) Do not try to dump 700
  228.   pics at once from your hard drive, you'll annihilate your printer! Print
  229.   thirty relatively uncomplicated pics (roughly a diskfull) and let your
  230.   printer cool. If you're printing color pics, half that amount. If you're
  231.   using an HP Deskjet, it is not recommended you print on both sides of the
  232.   paper since the ink has a tendency to print through. I do not have access
  233.   to an HP LASER printer so I can make no claim as to compatibility with
  234.   LASER printers. If you have access to one and find that this program
  235.   works, please let me know (address below){see notes}.
  236.  
  237.  
  238.      This program was written in GFA BASIC v2.0 and assembly routines were
  239.   coded with ASSEMPRO. Dox were written with Word Perfect v4.1 (I am
  240.   finally getting used to that program and find it fun to play with so I
  241.   had a tendency to ramble with this dissertation, sorry).
  242.  
  243.      Version 1.6 of PIC_LOG and 2.1 of JET_LOG and this doc are:
  244.  
  245.       COPYRIGHT 1988,89          Chet Walters
  246.                                    NEO STAG
  247.                                   P.O. Box 45
  248.                                Girard, OH 44420
  249.  
  250.  
  251.     They are not to be distributed nor sold without permission in writing
  252.   of Chet Walters by any club, organization or anyone but NEO STAG. If you
  253.   have obtained these programs from a BBS, purchased them as part of a
  254.   club disk or have obtained them from anyone other than NEO STAG, please
  255.   write to the address above and let us know where you got them.
  256.    
  257.                        Support the SHAREWARE NETWORK!
  258.  
  259. NOTES:
  260.       Version 2.0 of HP/LQ has an initial Alert at the beginning which 
  261. asks you to choose your printer. If you have an HP Deskjet, click on HP. If
  262. you have an Epson LQ or compat, click on LQ. Subsequently, your choice is 
  263. echoed in the SOME ALL SET alert. CLick on the SET button to re-select if
  264. you have made an error. Click on SET also to exit the program. 2/13/89
  265.  
  266. v2.1  Thanks to Gary at B&G Electronics in Lakewood near Cleveland, we have
  267. now been able to add compatibility with the HP LaserJet as well.  It seems
  268. there are some differences in the ROMS between the DeskJet and the Laser
  269. printer and even some differences in the ROMS of like models so you may
  270. have to experiment with the settings in the program.  If you find that
  271. your pic titles are either creeping up or down into the screen dumps as
  272. the page progresses, try a different setting.  What you need to do to toggle
  273. this "fudge factor" on or off is to hold down the SHIFT key when clicking
  274. the HP button in the title box.  What seems to be the norm is holding SHIFT
  275. down for LaserJet printers and leaving it alone for DeskJets.  4/11/89
  276.  
  277. For all your Atari hardware and software needs, call:
  278.  
  279.                         B&G Electronics
  280.                         15729 Madison Ave.
  281.                         Lakewood, OH  44107
  282.                         216-521-2855 (tell Gary that Chet sent ya!) 
  283.